package com.erp.erp_project.service;


import com.erp.erp_project.core.exception.CustomException;
import com.erp.erp_project.model.Menu;
import com.erp.erp_project.model.Submenu;

import java.util.List;
import java.util.Set;

/**
 * @author yh
 */
public interface MenuService extends BaseServcie<Menu> {
    List<Submenu> relist(Submenu Submenu,String menufield, String condition);
    void addmenu(String powers, Submenu submenu) throws CustomException;
    void delete(String ids);
    void updateMenu(Submenu submenu,String rename,String ins,String upids,String dpids,String newins) throws CustomException;
    List<Menu> selectnames(Set parentnames);
}
